Bookly\Lib\Base\Component S

Total Complexity 45
Dependencies 9
Dependents 0
Total lines 318
Lines of code 163
Logical lines of code 80
Comment lines 103
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
_assets()
A
46 12 36
enqueueData()
S
53 7 20
registerGlobalAssets()
S
44 4 45
getRequest()
S
62 5 10
renderTemplate()
S
62 2 11
csrfTokenValid()
S
76 2 3
reflection()
S
68 2 7
_register()
S
74 2 4
_enqueue()
S
74 2 4
pageSlug()
S
77 1 3
directory()
S
80 1 3
enqueueScripts()
S
76 1 4
enqueueStyles()
S
76 1 4
hasParameter()
S
79 1 3
parameter()
S
78 1 3
parameters()
S
80 1 3